<?php if ($this->_var['helps']): ?>

  <ul class="col5 clearfix">
    <li class="first"> <a target="_blank" class="foot-logo" href="#">也买酒</a></li>
    <li>
      <h4>关注我们</h4>
      <p class="sns"> <a target="_blank" href="#" class="ico-weibo">新浪微博</a> <a class="ico-weixin">我的微信</a> <a target="_blank" href="#" class="ico-tencent">腾讯微博</a> <a target="_blank" href="#" class="ico-douban">豆瓣小站</a> <a href="#" class="ico-mail">邮件订阅</a> </p>
    </li>
    <?php $_from = $this->_var['helps']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'help_cat');if (count($_from)):
    foreach ($_from AS $this->_var['help_cat']):
?>
    <li>
      <h4><?php echo $this->_var['help_cat']['cat_name']; ?></h4>
	 
      <p>   <?php $_from = $this->_var['help_cat']['article']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['item']):
?><a target="_blank" href="<?php echo $this->_var['item']['url']; ?>"><?php echo $this->_var['item']['short_title']; ?></a>  <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?></p>
    </li>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
  </ul>

<?php endif; ?>
